package com.piggy.logi.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.piggy.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class LogiReceivableStatisticsVo {

    /** 部门id */
    @ApiModelProperty("部门id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deptId;

    /** 客户id */
    @ApiModelProperty("客户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /** 关联运单数量 */
    @Excel(name = "关联运单数量")
    @ApiModelProperty("关联运单数量")
    private Integer waybillNum = 0;

    /** 对账合计 */
    @Excel(name = "对账合计")
    @ApiModelProperty("对账合计")
    private BigDecimal totalAmount = BigDecimal.ZERO;

    /** 已对账合计 */
    @Excel(name = "已对账合计")
    @ApiModelProperty("已对账合计")
    private BigDecimal checkedAmount = BigDecimal.ZERO;

    /** 未对账合计 */
    @Excel(name = "未对账合计")
    @ApiModelProperty("未对账合计")
    private BigDecimal noCheckAmount = BigDecimal.ZERO;

    /** 未结算金额 */
    @Excel(name = "未结算金额")
    @ApiModelProperty("未结算金额")
    private BigDecimal noSettleAmount = BigDecimal.ZERO;

    /** 已结算金额 */
    @Excel(name = "已结算金额")
    @ApiModelProperty("已结算金额")
    private BigDecimal settledAmount = BigDecimal.ZERO;

    /** 时间范围 */
    @Excel(name = "时间范围")
    @ApiModelProperty(value = "时间范围")
    private String timeFrame;
}
